<extend name="Layout/main" />
<block name="css"></block>
<block name="style"></block>
<block name="js"></block>
<block name="script"></block>
<block name="model">合同关联信息</block>
<block name="controller">合同关联信息列表</block>
<block name="action">合同关联信息列表</block>
<block name="desc"></block>
<block name="content">
<div class="box box-primary">
	<div class="box-header with-border">
		<h3 class="box-title">合同关联信息列表</h3>
		<div class="box-tools">
			<form class="form-horizontal" action="{:U('page')}" method="get">
				<div class="input-group input-group-sm col-sm-2 pull-right">
					<div class="input-group-btn">
						<button type="button" class="btn btn-default" rel-url="{:U('form')}" rel-action="dialog">
							<i class="fa fa-file-text"></i>
							新增
						</button>
					</div>
					<input type="text" name="keyword" value="{$keyword}" class="form-control" placeholder="请输入关键字" autocomplete="off" />
					<div class="input-group-btn">
						<button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
					</div>
				</div>
			</form>
		</div>
	</div>
	<div class="box-body table-responsive">
		<table class="table table-bordered table-striped table-hover">
			<tbody>
				<notempty name="data">
				<tr>
					<th class="text-center">编号</th>
					<th class="text-center">合同编号</th>
					<th class="text-center">网签地址</th>
					<th class="text-center">签约场景</th>
					<th class="text-center">状态</th>
					<th class="text-center">操作</th>
				</tr>
				<volist name='data' id='items'>
				<tr>
					<td class="text-center">{$items.relation_id}</td>
					<td>{$items.relation_contract_id}</td>
					<td>{$items.neturl}</td>
					<td>{$items.scenes}</td>
					<td class="text-center">{$items.status}</td>
					<td class="text-center">
						<a href="{$items.edit}" rel-action="dialog">编辑</a>
						<a href="{$items.delete}" rel-action="delete">删除</a>
					</td>
				</tr>
				</volist>
				<else />
					<tr><td>暂无符合条件记录</td></tr>
				</notempty>
			</tbody>
		</table>
	</div>
	<notempty name="data">
	<div class="box-footer clearfix">
		{$page}
	</div>
	</notempty>
</div>
</block>